{% extends "users/base.html" %}
{% from "layout/errorlist.html" import errorlist %}
{% set title = _('Password Reset') %}
{% set classes = 'password' %}

{% block content %}
  <article id="pw-reset" class="main">
    <h1>{{ title }}</h1>
    <div class="warning">
      {% trans %}
        <strong>Warning:</strong> Accounts created before December 2010 may
        have issues logging in. Please reset your password below.
      {% endtrans %}
    </div>
    <form method="post" action="">
      {% csrf_token %}
      <fieldset>
        <p class="instruct">
          {% trans %} Forgotten your password? Enter your email address below,
          and we'll send you instructions for setting a new one.
          {% endtrans %}
        </p>
        {{ errorlist(form) }}
        <ul>
          <li>
            <label for="id_email">{{ _('Email Address:') }}</label>
            {{ form.email|safe }}
          </li>
        </ul>
      </fieldset>
      <div class="submit">
        <input type="submit" value="{{ _('Send password reset link') }}" />
      </div>
    </form>
  </article>
{% endblock content %}
